package com.pat.om;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class Envelope {

	private String senderRegId;

	private String receiverRegId;

	private String data;

	public Envelope(String senderRegId, String receiverRegId, String data){
		this.senderRegId = senderRegId;
		this.receiverRegId = receiverRegId;
		this.setData(data);
	}
	public Envelope() {

	}

	public void setSenderRegId(String senderRegId) {
		this.senderRegId = senderRegId;
	}

	public String getSenderRegId() {
		return senderRegId;
	}

	public void setReceiverRegId(String receiverRegId) {
		this.receiverRegId = receiverRegId;
	}

	public String getReceiverRegId() {
		return receiverRegId;
	}
	public void setData(String data) {
		this.data = data;
	}
	public String getData() {
		return data;
	}



	
}
